package com.health.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 问诊订单
 * </p>
 *
 * @author health
 * @since 2023-04-19
 */
@Getter
@Setter
  @TableName("inquiry_order")
@ApiModel(value = "InquiryOrder对象", description = "问诊订单")
public class InquiryOrder implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("序号")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("用户id")
      private Integer userId;

      @ApiModelProperty("订单编号")
      private String tradeNo;

      @ApiModelProperty("用户名")
      private String userName;

      @ApiModelProperty("病人id")
      private Integer patientId;

      @ApiModelProperty("病人姓名")
      private String patientName;

      @ApiModelProperty("医院id")
      private Integer hospitalId;

      @ApiModelProperty("医院名称")
      private String hospitalName;

      @ApiModelProperty("医生id")
      private Integer doctorId;

      @ApiModelProperty("问题id")
      private Integer questionId;

      @ApiModelProperty("医生姓名")
      private String doctorName;

      @ApiModelProperty("医生职称")
      private String title;

      @ApiModelProperty("问题描述")
      private String descript;

      @ApiModelProperty("回复id")
      private Integer replyId;

      @ApiModelProperty("回复内容")
      private String replyContent;

      @ApiModelProperty("0 图文 1 电话")
      private Integer type;

      @ApiModelProperty("0代表电话问诊，图文问诊方式 1代表一对一 2代表一对多")
      private Integer inquiryType;

      @ApiModelProperty("提问方式0一对一 1对多")
      private Integer questionType;

      @ApiModelProperty("评论id")
      private Integer commentId;

      @ApiModelProperty("评分")
      private Integer rate;

      @ApiModelProperty("评论内容")
      private String commentContent;

      @ApiModelProperty("费用")
      private BigDecimal cost;

      @ApiModelProperty("0 未支付 1支付")
      private Integer status;

      @ApiModelProperty("排序")
      private Integer sort;

      @ApiModelProperty("逻辑删除")
      private Integer isDeleted;

      @ApiModelProperty("创建时间")
      private LocalDateTime createTime;

      @ApiModelProperty("更新时间")
      private LocalDateTime updateTime;

      @ApiModelProperty("提问日期")
      private LocalDateTime questionDate;

      @ApiModelProperty("解答日期")
      private LocalDateTime replyDate;

      @ApiModelProperty("医院地址")
      private String hospitalAddress;

      @ApiModelProperty("患者身份证")
      private String idCard;
}
